﻿<%@ Page Title="提现流水详单" Language="C#" MasterPageFile="~/manage/NestedMasterPage1.master" AutoEventWireup="true" CodeBehind="WithDrawDetail.aspx.cs" Inherits="map.manage.Money.WithDrawDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server">
    <link href="../../outstyle.css" rel="stylesheet" type="text/css" />
    <link href="../../Stylesheet1.css" rel="stylesheet" type="text/css" />
    <script src="../../js/dropdowncontent.js" type="text/javascript"></script>
    <style type="text/css">
        .MainContentDiv
        {
            width:90%;
        }
        .WithDrawDetailDiv
        {
            width:100%; 
        }
         .f_td_0,.f_td_2
        {
            width:15%;
            text-align:right ;
            padding:3px 0px 3px 0px;
        }              
        .f_td_1,.f_td_3
        {
            width:35%;
            text-align:left ;
            color:Blue;             
            padding:3px 0px 3px 0px;
        }
        .WithDrawDetailDiv legend
        {
             margin:0px 5px 0px 5px; 
             padding:0px 5px 0px 5px;
        }
        .SubmitCharge
        {
            background:url(/img/btnTmp_orange.png) no-repeat 0px -34px;
            border:none;
            text-align:center;
            padding-left:20px;
            font-weight:bold ;
            cursor:pointer ;
            width:100px;
            height:34px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <div class="MainContentDiv">
        <span style=" font-size:large; font-weight:bold ">您正在查看提现流水详单</span> <br /><br />
        <div class="WithDrawDetailDiv">
            <fieldset>
                <legend>申请信息</legend>
                <table  cellpadding="0" cellspacing="0"  width="100%">
                    <tr>              
                        <td class="f_td_2">流 水 号：</td>
                        <td class="f_td_3"><%= withDraw .WithDrawId .Value  %></td>
                        <td class="f_td_2">&nbsp;</td>
                        <td class="f_td_3">&nbsp;</td>
                    </tr>
                    <tr>     
                        <td class="f_td_0">提 现 人：</td>
                        <td class="f_td_1"><%= withDraw .cbuserid.Value  %></td>
                        <td class="f_td_0">金    额：</td>
                        <td class="f_td_1"><%= withDraw .Amount .Value.ToString () +" 元" %></td>                         
                    </tr>
                    <tr>
                        <td class="f_td_2">申请时间：</td>
                        <td class="f_td_3"><%= withDraw .WithDrawDate.Value.ToShortDateString()+" "+withDraw.WithDrawTime .StringValue   %></td>   
                        <td class="f_td_0">申请地址：</td>
                        <td class="f_td_1"><%= withDraw .WithDrawIpAddr  .Value %></td>
                    </tr>
                </table>
            </fieldset>            
            <br />
            <fieldset>
                <legend>状态信息</legend>
                <table  cellpadding="0" cellspacing="0"  width="100%">
                    <tr>
                        <td class="f_td_0">状态：</td>
                        <td class="f_td_1"><%= GetWithDrawStatusStr(withDraw.WithDrawStatus.Value)%></td>
                        <td class="f_td_2">&nbsp;</td>
                        <td class="f_td_3">&nbsp;</td>
                    </tr>                    
                </table>
            </fieldset>
            <br />
            <fieldset>
                <legend>银行账户信息</legend>
                <table  cellpadding="0" cellspacing="0"  width="100%">
                    <tr>
                        <td class="f_td_0">账户类型：</td>
                        <td class="f_td_1"><%= (withDraw .BankAccountType  .Value==RuleCode.Enum.BankAccountType .CompanyAccount )?"公司账户":"个人账户" %></td>   
                        <td class="f_td_2">&nbsp;</td>
                        <td class="f_td_3">&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="f_td_2">开 户 名：</td>
                        <td class="f_td_3"><%= withDraw .BankAccountName  .Value  %></td>
                        <td class="f_td_0">银行账户：</td>
                        <td class="f_td_1"><%= withDraw .BankAccount .Value  %></td>                      
                    </tr>
                    <tr>
                        <td class="f_td_2">开 户 行：</td>
                        <td class="f_td_3"><%= withDraw .BankName .Value %></td>   
                        <td class="f_td_0">支    行：</td>
                        <td class="f_td_1"><%= withDraw .BankBranchName   .Value %></td>
                    </tr>              
                </table>
            </fieldset>
            <br />
            <fieldset>
                <legend>进度信息</legend>
                <table  cellpadding="0" cellspacing="0"  width="100%">
                    <tr>
                        <td class="f_td_0">审 核 人：</td>
                        <td class="f_td_1"><%= withDraw .ApprovedBy  .Value  %></td>
                        <td class="f_td_2">审核时间：</td>
                        <td class="f_td_3"><%= withDraw.ApprovedDate.Value.ToString()%></td>
                    </tr>
                    <tr>                        
                        <td class="f_td_2">结 束 人：</td>
                        <td class="f_td_3"><%= withDraw .FinishedBy   .Value  %></td>
                        <td class="f_td_0">结束时间：</td>
                        <td class="f_td_1"><%= withDraw.FinishedDate .Value.ToString () %></td>                         
                    </tr>
                    <tr>
                        <td class="f_td_2">结束原因：</td>
                        <td  class="f_td_3" style=" text-align:left;" colspan="3">
                            <textarea  rows="4"  disabled="true" style=" width:70%; height:50px;;" readonly ="true"><%= withDraw .Notes  .Value %></textarea>                            
                        </td>   
                    </tr>              
                </table>
            </fieldset>
            <br />
            <fieldset>
                <legend>操作</legend>
                <div id="NotesDiv" runat="server">
                    <table width="100%">
                        <tr>
                            <td class="f_td_2">结束原因：</td>
                            <td  class="f_td_3" style=" width:85%; text-align:left;">
                                <textarea  rows="4"  style=" width:70%; height:50px;" runat="server" id="WithDrawNoteTextArea"></textarea>                            
                            </td>   
                        </tr>    
                    </table>
                </div>
                <table   width="100%">
                    <tr>
                        <td   style=" text-align:right  ;" >
                            <div id="ApprovedDiv" runat="server">  
                                <asp:Button ID="ApprovedButton" CssClass="SubmitCharge" runat="server" 
                                    Text="审核通过" onclick="ApprovedButton_Click" />
                            </div>   
                            <div id="FinishedDiv" runat="server">
                                <asp:Button ID="FinishedButton" CssClass="SubmitCharge" runat="server" 
                                    Text="提现成功" onclick="FinishedButton_Click" />   
                                <asp:Button ID="FailedButton" CssClass="SubmitCharge" runat="server" 
                                    Text="提现失败" onclick="FailedButton_Click" />
                            </div>                                             
                        </td>
                        <td style=" vertical-align:bottom ; width:45%;">
                            <input  type="button" class="SubmitCharge"  style ="width:81px;  background-position: 0px 0px;"  value="关闭" onclick ="window.opener=null;window.open('','_self');window.close();"/>   
                        </td> 
                    </tr>
                </table>
            </fieldset>
                
            
        </div>
    </div>
</asp:Content>
